@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <input type="hidden" id="id" value="${item.id}">

            <input type="hidden" id="practiceLevel" name="practiceLevel" value="${item.practiceLevel}">

            <div class="row">
                <div class="col-sm-6 b-r">
                    @if('000000' == item.empCode){
                    <#selectUser id="empCode" name="员工编号"  value="${item.empCode}" onclick="PracticePointsInfoDlg.selectEmp($(this))" underline="true"/>
                    @}else{
                    <#selectUser id="empCode" name="员工编号"  value="${item.empCode}" onclick="PracticePointsInfoDlg.selectEmp()" disabled="true" underline="true"/>
                    @}
                    <#input id="practiceName" value="${item.practiceName}" name="执业资格名称" underline="true"/>
                    <#input id="cerNumber" value="${item.cerNumber}" name="证书编号" underline="true"/>
                    <#TimeConInput id="issuingTime" value="${item.issuingTime}" name="发证时间" isTime="false" pattern="yyyy-MM-dd" underline="true"/>
                    <#YearConInput id="year" value="${item.year}" name="年度" isTime="false" underline="true"/>


                </div>

                <div class="col-sm-6">
                    <#input id="empName" value="${item.empName}" name="员工姓名" disabled="true" underline="true"/>
                    <#select id="practiceLevelCode" value="${item.practiceLevelCode}" name="执业资格等级" underline="true">
                        @ for(p in practiceRules!){
                        <option value="${p.gradeCode}" integral="${p.integral}">${p.grade}</option>
                        @}
                    </#select>
                    <#input id="issuingOrgan" value="${item.issuingOrgan}" name="发证机关" underline="true"/>
                    <#select id="getWay" value="${item.getWay}" name="取得方式" underline="true">
                        @ for(p in getWays!){
                        <option value="${p.name}">${p.name}</option>
                        @}
                    </#select>
                    <#input id="integral" disabled="true" value="${item.integral}" name="获得积分"  underline="true"/>


                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10 text-center">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="PracticePointsInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="PracticePointsInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/train/practicePoints/practicePoints_info.js?v=${version}"></script>
@}
